
<div id="my-file-list">
	{{$page_navi}}
	<div class="uploadfile-toolbar" style="padding:5px 0;">
		<p><button class="btn btn-default btn-sm"><input type="checkbox" id="checkAllUpfile"><label style="margin:0 0;font-weight: normal;" for="checkAllUpfile">全选</label></button>&nbsp; <button id="delCheckedUpfile" class="btn btn-default btn-sm"><i class="fa fa-trash"></i> 批量删除</button>&nbsp; <a href="/user_settings/setting" class="btn btn-default btn-sm" target="_blank">水印设置</a>
		</p>
	</div>
	<div  class="row ui-portlet" style="position:relative;">
       {{loop $datalist $item}}
       	<div id="uploadfile-{{$item['Uploadfile']['id']}}" class="col-sm-4">
       		<div class="appmsg">
	       		<div class="cover">
	       		<?php
	       		if(strpos($item['Uploadfile']['fspath'],'qdn.135editor.com') !== false) {
					$item['Uploadfile']['fspath'] = strip_imgthumb_opr($item['Uploadfile']['fspath']).$qnfops;
				}
	       		 ?>
	       		{{$this->Html->image($item['Uploadfile']['fspath'])}}
	       		
	       		</div>
	       		<div style="height: 32px;overflow: hidden;" title="{{$item['Uploadfile']['name']}}">{{usubstr($item['Uploadfile']['name'],0,16)}}</div>
	       		<p class="img-opr"><input type="checkbox" name="deleteuploadfiles[]" value="{{$item['Uploadfile']['id']}}">&nbsp;<span class="deleteMsg" data-id="{{$item['Uploadfile']['id']}}" onclick="">删除</span></p>
	       		<span class="icon"></span>
       		</div>
       	</div>
  		{{/loop}}
  		{{if empty($datalist)}}
  		<p style="margin:20px auto;text-align:center;">没找到上传的此类文件。</p>
  		{{/if}}
    </div>
    <div class="clear:both;"></div>
    {{$page_navi}}
</div>
